#include <QApplication>
#include <QTextCodec>

#include "fileManage.h"

QString g_strAppPath;       // 应用程序目录

int main(int argc, char* argv[])
{
    // 设置编码
    QTextCodec *pCodec = QTextCodec::codecForName("System");
    QTextCodec::setCodecForLocale(pCodec);

    QApplication app(argc,argv);

    g_strAppPath = QApplication::applicationDirPath();

    FileManage win;
    win.show();

    app.exec();
}
